/*
 * @Author: xiaosihan 
 * @Date: 2022-08-20 17:08:13 
 * @Last Modified by: xiaosihan
 * @Last Modified time: 2025-08-23 14:32:17
 */
import hashHistory from '@/srcWeb/hashHistory';
import ReactDOM from 'react-dom/client';
import { Route, unstable_HistoryRouter as Router, Routes } from 'react-router-dom';
import './index.css';

import { configure } from "mobx";
import Home from '@/srcWeb/views/Home/Home';

// mobx 配置，不强制执行动作
configure({ enforceActions: "never" });

const Root = ReactDOM.createRoot(document.getElementById('root')!);

Root.render(
    <Router history={hashHistory} future={{ v7_startTransition: true, v7_relativeSplatPath: true }}>
        <Routes>
            <Route path="/" element={<Home />} />
        </Routes>
    </Router>
);